open class Person {
  name: String = "Pigeon"
}

class Teacher extends Person {
  subjects: List<String> = List("Rocks", "Stone Age")
}

res1 = new Teacher {}

res2 = (res1) {
  name = "Parrot"
}

res3 = (res2) {
  subjects = List("Fire Making")
}
